package com.xwyzsn.backend.job.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author xwyzsn
 * @since 2023-03-03
 */
public class Project implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * project id
     */
    @TableId(value = "pid", type = IdType.AUTO)
    private Integer pid;

    /**
     * 选择课题的sid
     */
    private String snum;

    /**
     * 发布课题的tid
     */
    private String tnum;

    /**
     * project name
     */
    private String pname;

    /**
     * project desc
     */
    private String pdesc;

    /**
     * create_time
     */
    private Date createdTime;

    /**
     * updated time
     */
    private Date updatedTime;

    /**
     * project status
     */
    private Integer status;

    /**
     * project dept
     */
    private String dept;

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }
    public String getSnum() {
        return snum;
    }

    public void setSnum(String snum) {
        this.snum = snum;
    }
    public String getTnum() {
        return tnum;
    }

    public void setTnum(String tnum) {
        this.tnum = tnum;
    }
    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }
    public String getPdesc() {
        return pdesc;
    }

    public void setPdesc(String pdesc) {
        this.pdesc = pdesc;
    }
    public Date getCreated_time() {
        return createdTime;
    }

    public void setCreated_time(Date createdTime) {
        this.createdTime = createdTime;
    }
    public Date getUpdated_time() {
        return updatedTime;
    }

    public void setUpdated_time(Date updatedTime) {
        this.updatedTime = updatedTime;
    }
    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
    public String getDept() {
        return dept;
    }

    public void setDept(String dept) {
        this.dept = dept;
    }

    @Override
    public String toString() {
        return "Project{" +
            "pid=" + pid +
            ", snum=" + snum +
            ", tnum=" + tnum +
            ", pname=" + pname +
            ", pdesc=" + pdesc +
            ", createdTime=" + createdTime +
            ", updatedTime=" + updatedTime +
            ", status=" + status +
            ", dept=" + dept +
        "}";
    }

    public Project(String tnum, String pname, String pdesc, Date createdTime, Date updatedTime, Integer status, String dept) {
        this.tnum = tnum;
        this.pname = pname;
        this.pdesc = pdesc;
        this.createdTime = createdTime;
        this.updatedTime = updatedTime;
        this.status = status;
        this.dept = dept;
    }
    public Project(){

    }
}

